@Slf4j
@Service
public class ${noPrefixClassName}ServiceImpl implements   I${noPrefixClassName}Service {

    private final I${noPrefixClassName}EntityService ${noPrefixClassName?uncap_first}EntityService;

    @Override
    public PageResult<result> find${noPrefixClassName}ListByParam(Map<String, Object> params, LoginUserBean loginUser) throws Exception {

    ArrayList<${noPrefixClassName}RspBean> result = new ArrayList<>();

        PageResult<${noPrefixClassName}Entity> res = ${noPrefixClassName?uncap_first}EntityService.find${noPrefixClassName}ListByParam(params);

            if(CollectionUtils.isNotEmpty(res.getData())){
            for(${noPrefixClassName}Entity r : res.getData() ){
            ${noPrefixClassName}RspBean bean = new ${noPrefixClassName}RspBean();
            BeanUtils.copyProperties(r, bean);
            result.add(bean);
            }
            }

            return PageResult.<${noPrefixClassName}RspBean>builder().data(result).code(0).total(res.getTotal()).build();


    }
<#--去除前缀 加  XXServiceImpl     IXXService-->